package cn.exrick.xboot.base.service

import cn.exrick.xboot.base.entity.SecurityAdvisorExamContent
import cn.exrick.xboot.base.vo.SecurityAdvisorExamContentVo
import cn.exrick.xboot.core.common.vo.PageVo
import cn.exrick.xboot.core.common.vo.Result
import com.baomidou.mybatisplus.extension.service.IService

/**
 * 安全顾问考试内容上传接口
 * @author Fei
 */
interface ISecurityAdvisorExamContentService : IService<SecurityAdvisorExamContent?> {


    /**
     * 添加或者编辑考试试题
     */
    fun createOrUpdateExamContent(securityAdvisorExamContent: SecurityAdvisorExamContent) : Result<Any>?


    /**
     * 移除考试试题
     */
    fun removeExamContent(ids: Array<out String>) : Result<Any>?


    /**
     * 获取考试封装类
     */
    fun getExamContentVo(id: String) : SecurityAdvisorExamContentVo?


    /**
     * 获取考试试题集合
     */
    fun getExamContentList(pageVo: PageVo, trainingJobPartId: String) : Result<MutableMap<String, Any?>>?

}